package com.kkyy.findmusic.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kkyy.findmusic.entity.MvsEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface MvsDao extends BaseMapper<MvsEntity> {
    List<MvsEntity> selectByStatus();

    void updateMvStatus(Integer id);

    void updateMvType(Integer id);

    void updateDownMvType(Integer id);

    List<MvsEntity> selectByStatus2();

    void insertMvInfo(
            @Param("picurl") String picurl,
            @Param("count") Integer count,
            @Param("mvreco") String mvreco,
            @Param("mvart") String mvart,
            @Param("mvname") String mvname,
            @Param("location") Integer location);
}